Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Middleware parameters #715

Open
wants to merge 23 commits into
base: v5-development
Choose a base branch
from

Conversation

michaelthedev
Copy link

Allows usage of comma separated values as middleware parameters

Router::post('/purchase', [CableTvController::class, 'purchase'])
  ->addMiddleware(PinVerified::class.',value_1,value_2');

OR

Router::post('/purchase', [CableTvController::class, 'purchase'])
  ->addMiddleware('App\Middlewares\TestMiddleware,value_1,value_2');

skipperbent and others added 21 commits November 21, 2023 16:15
@michaelthedev michaelthedev changed the base branch from master to development June 26, 2024 09:15
@michaelthedev michaelthedev changed the base branch from development to v5-development June 26, 2024 09:16
@michaelthedev
Copy link
Author

Not sure which branch i should choose. But i selected v5-development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants